<!DOCTYPE html>
<html>
  <head>
    <title>角色管理-编辑</title>
 		<#include "fsoft-common.ftl" />
  </head>
  <body>
    <div class="layui-fluid">
      <div class="layui-card">
        <div class="layui-card-body">
          <div class="layui-row layui-col-space5">
            <form class="layui-form layui-form-pane" action="" lay-filter="mRoleForm" method="post">
              <input type="hidden" name="id" id="id" value="${role.id}"/>
              <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                    <span class="x-red">*</span>角色编码
                </label>
                <div class="layui-input-block">
                    <input type="text" id="code" name="code" value="${role.code}"  required="" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label for="name" class="layui-form-label">
                  <span class="x-red">*</span>角色名称
                </label>
                <div class="layui-input-block">
                  <input type="text" id="name" name="name" value="${role.name}" required="" lay-verify="required" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item layui-form-text">
                <label for="desc" class="layui-form-label">描述</label>
                <div class="layui-input-block">
                  <textarea placeholder="角色描述" id="remark" name="remark" autocomplete="off" class="layui-textarea">${role.remark}</textarea>
                </div>
              </div>
              <button class="layui-hide" lay-submit lay-filter="save">保 存</button>
            </form>
          </div>
        </div>
      </div>
    </div>
  </body>
  <#include "fsoft-common-foot.ftl" />
	<script type="text/javascript" src="${request.contextPath}/static/fsoft-web/role/sysrole-modify.js?v=202110"></script>
</html>
